<!--
 * @Author: your name
 * @Date: 2021-08-12 11:28:56
 * @LastEditTime: 2021-08-12 11:42:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day09\03-百度登录.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
          .model{
              width:100%;
              height:100%;
              background-color: rgba(0,0,0,0.3);
              position:fixed;
              top:0;
              left:0;
          }
          .model .login{
              width:400px;
              height:500px;
              background-color: cornsilk;
              margin-left:calc(50% - 200px);
              margin-top:100px;
          }
    </style>
</head>
<body>
    <button>登录</button>
    <div style="height:800px;">模拟内容很多</div>
    <div class=model>
        <div class=login>表单
        <button>关闭</button>
    </div>
    </div>
    <script>

    </script>
</body>
</html>